import { createContext } from 'react';

const warningFunc: any = () => {};

const FormContext = createContext<any>({
	getFieldValue: warningFunc,
	dispatch: warningFunc,
	registerField: warningFunc,
	unRegisterField: warningFunc
	// resetFields: warningFunc,
	// setConfigWays: warningFunc,
	// submit: warningFunc,
	// getFieldValidate: warningFunc
});

export default FormContext;
